package com.liu.fresh.controller;


import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import com.liu.fresh.biz.IGoodsTypeBiz;
import com.liu.fresh.entity.GoodsType;

@Controller
@RequestMapping("/goodsType")
public class GoodsTypeController  {
	@Autowired
	private IGoodsTypeBiz goodsTypeBiz;

	
	@RequestMapping("/findAll")
	@ResponseBody
	public List<GoodsType> findAll() {									
		return goodsTypeBiz.findAll();
	}
}
